package com._数组Demo1;

public class _Test3 {
    public static void main(String[] args) {
        int[] arr = {11, 22, 33, 44, 55, 66, 77, 88, 99,};
        for (int i = 2; i < arr.length; i++) {
            if (i % 2 == 0)
                System.out.println(arr[i]);
        }

        int[] arr1 = {1, 2, 3, 4, 5, 6, 7, 8, 9};
        for (int l = 0; l < arr1.length; l++) {
            if (arr1[l] % 2 == 0) {
                System.out.println(arr1[l]);
            }
        }

    }
}